home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
pertab
/
perftab.txt
< prev
next >
Wrap
Text File
|
1994-04-25
|
2KB
|
62 lines
PerfectTAB 1.0
--------------
Copyright (C) 1994 by
bytes & letters
hilger software technology
postfach 16 27
66716 saarlouis
germany
This tool is freeware, not public domain. You can use it in your own programs if you want
- whithout paying a dollar to us. But don┤t forget that we did the work, not you.
Comments are welcome.
You can reach us via CompuServe mail: 100275,3554
Proceeding:
-----------
You need THREED.VBX (VB Pro-Edition 3.0).
If you want to integrate a form with PerfectTAB into your application, you just have
to do a few steps:
1. Add PERFTAB.BAS to your project
2. Add NEWTAB.FRM to your project instead of "File->New form"
Each level of the tabbed dialog contains three controls:
1. Tab_Sheet() - (SSPanel)
2. Tab_Loop() - (PictureBox)
3. Tab_Label() - (Label as a sub-control in Tab_Loop)
NEWTAB.FRM is predefined with 5 levels, index 0 to 4. If you don┤t need all the five
levels, f.e. you need only three, just must delete Tab_Sheet(3-4) and Tab_Loop(3-4).
Thats all. If you need more levels, you can copy Tab_Sheet() and Tab_Loop() to get a
furhter level.
Some properties can be set at the Form_Load procedure, but are not needed in any case.
If you want to design own styles, you can do it with Paintbrush or any other pixel-oriented
drawing-program. A loop-picture can have each size you want, but it┤s important, that
the picture for the active-loop has the same size as the picture for the inactive-loop.
To change the style at design time, you have to change the picture-properties of
Tab_Loop_Picture(0-1).
PerfectTAB comes also with four predesigned styles. You can try them if you load the
included .BMP files to Tab_Loop_Picture().
The position of the whole tabbed dialog starts at the position of Tab_Loop(0).
The size of all sheets will have the size of Tab_Sheet(0).
Much fun.
Dirk Hilger